#ifndef SENSOR_IMPEDANCE_H
#define SENSOR_IMPEDANCE_H

#include "sensor_include.h"


void Impedance_Initialize( uint32 u32_calTime, comp64 c64_refImp,
                           uint64 (*pf_ReadImpedance)(uint) );
logical Impedance_Update( uint32 u32_time );
void Impedance_Reset(void);
fixed32 Impedance_GetRefReal(void);
fixed32 Impedance_GetRefImag(void);
void Impedance_SensReset( uint32 u32_time );
fixed32 Impedance_GetSensFactor( logical t_gradual );
fixed32 Impedance_GetSensOffset( logical t_gradual );
logical Impedance_SensChanged(void);
logical Impedance_Valid(void);
logical Impedance_Assert(void);
logical Impedance_IsCurrentRealInRange(void);

#endif // SENSOR_IMPEDANCE_H
